package com.openbravo.data.loader;

import com.openbravo.basic.BasicException;
import java.io.UnsupportedEncodingException;

public class SerializerReadUTF8
  implements SerializerRead
{
  public static final SerializerRead INSTANCE = new SerializerReadUTF8();

  public Object readValues(DataRead paramDataRead)
    throws BasicException
  {
    try
    {
      return new String((byte[])(byte[])Datas.BYTES.getValue(paramDataRead, 1), "UTF-8");
    }
    catch (UnsupportedEncodingException localUnsupportedEncodingException)
    {
    }
    return null;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.data.loader.SerializerReadUTF8
 * JD-Core Version:    0.6.0
 */